|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnegotiator.boaframework.OpponentModel
negotiator.boaframework.opponentmodel.AgentXFrequencyModel
public class AgentXFrequencyModel
Class for building an opponent model in discrete space. Contains value- and issue-processors to deal with opponent bids. Adapted by Mark Hendrikx to be compatible with the BOA framework. Tim Baarslag, Koen Hindriks, Mark Hendrikx, Alex Dirkzwager and Catholijn M. Jonker. Decoupling Negotiating Agents to Explore the Space of Negotiation Strategies
| Field Summary |
|---|
| Fields inherited from class negotiator.boaframework.OpponentModel |
|---|
negotiationSession, opponentUtilitySpace |
| Constructor Summary | |
|---|---|
AgentXFrequencyModel()
|
|
| Method Summary | |
|---|---|
double |
getBidEvaluation(Bid bid)
Calculates the utility to our opponent of the bid received as a parameter using the current knowledge given by our opponent model |
double |
getEvaluationOfValue(int issueIndex,
ValueDiscrete valueOfIssue)
Gives the normalized value rank of some value within a certain Issue |
negotiator.boaframework.opponentmodel.agentx.DiscreteIssueProcessor |
getIssueProcessor()
Gives the discreteIssueProcessor for this opponent model |
java.lang.String |
getName()
|
UtilitySpace |
getOpponentUtilitySpace()
|
negotiator.boaframework.opponentmodel.agentx.DiscreteValueProcessor |
getValueProcessor(IssueDiscrete i)
Returns a DiscreteValueProcessor, allowing the use of several methods |
double |
getWeight(Issue issue)
Returns the weight of a particular issue in the domain. |
void |
init(NegotiationSession negotiationSession,
java.util.HashMap<java.lang.String,java.lang.Double> parameters)
Creates an opponent model for the given utility space |
void |
updateModel(Bid b,
double time)
Processes a bid, possibly changing value ranks for the internal opponent model. |
| Methods inherited from class negotiator.boaframework.OpponentModel |
|---|
cleanUp, endSession, getIssueWeights, init, isCleared, loadData, setOpponentUtilitySpace, setOpponentUtilitySpace, storeData, updateModel |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AgentXFrequencyModel()
| Method Detail |
|---|
public void init(NegotiationSession negotiationSession,
java.util.HashMap<java.lang.String,java.lang.Double> parameters)
throws java.lang.Exception
init in class OpponentModelu - The utility space
java.lang.Exceptionpublic negotiator.boaframework.opponentmodel.agentx.DiscreteValueProcessor getValueProcessor(IssueDiscrete i)
i - The issue for which a ValueProcessor is needed
public negotiator.boaframework.opponentmodel.agentx.DiscreteIssueProcessor getIssueProcessor()
public void updateModel(Bid b,
double time)
updateModel in class OpponentModelb - The bid done by the opponenttime - Time at which the bid was done
public double getEvaluationOfValue(int issueIndex,
ValueDiscrete valueOfIssue)
issueIndex - The index of the issue. Same index as in the ArrayList provided by
utilitySpace.getDomain().getIssues()valueOfIssue - The value from that issue for which the normalized rank is required
public double getBidEvaluation(Bid bid)
getBidEvaluation in class OpponentModelbid -
public double getWeight(Issue issue)
OpponentModel
getWeight in class OpponentModelissue - from which the weight should be returned
public UtilitySpace getOpponentUtilitySpace()
getOpponentUtilitySpace in class OpponentModelpublic java.lang.String getName()
getName in class OpponentModel
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||